package com.cms.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.cms.entity.base.BaseModel;
import com.cms.enums.ModelType;
import lombok.EqualsAndHashCode;

import java.util.HashMap;
import java.util.Map;

/**
 * Entity - 模型
 * 
 * 
 * 
 */
@SuppressWarnings("serial")
@EqualsAndHashCode(callSuper = false)
@TableName("cms_model")
public class Model extends BaseModel {


	/**
	 * 获取类型名称
	 *
	 * @return 类型名称
	 */
	public String getTypeName(){
		return ModelType.typeValueMap.get(getType()).getText();
	}
    
	

}
